<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="sb" uri="/struts-bootstrap-tags" %>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>DevFest 2012 Rest Provider Demo</title>
		<script type="text/javascript" src="<s:url value="/js/jquery.min.js" />"></script>
		<sb:head compressed="true" />
		<script type="text/javascript" src="<s:url value="/js/jquery.form.js" />"></script>
		<script type="text/javascript" src="<s:url value="/js/bootstrap-datepicker.js" />"></script>
		<link rel="stylesheet" type="text/css" href="<s:url value="/css/datepicker.css" />" />
		<style type="text/css">
			.btn { min-width: 80px; }
		</style>
		<script type="text/javascript">
			$(function() {
				$('#form').load('<s:url value="/person/new" />');
				$('#list').load('<s:url value="/person" />');
			});
		</script>
	</head>
	<body>
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12" align="center">
					<img alt="Logo" src='<s:url value="/images/devcamp.jpg" />'>
				</div>
			</div>
			<div class="row-fluid">
				<div class="span12" align="center">
					<div class="navbar">
						<div class="navbar-inner">
							<a class="brand" href="#">Rest Provider Demo</a>
							<div class="container">
								<ul class="nav">
									<li class="active"><a href='<s:url value="/" />'>Home</a></li>
									<li><a href="http://code.google.com/p/devcamp-jakarta-2012" target="_blank">Code</a></li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="row-fluid" id="content">
				<div class="span4" id="form">
					<%-- <s:include value="/WEB-INF/content/person/person-add.jsp" /> --%>
				</div>
				<div class="span8" id="list">
					<%-- <s:include value="/WEB-INF/content/person/person-list.jsp" /> --%>
				</div>
			</div>
		</div>
	</body>
</html>